import Vue from 'vue'
import Router from 'vue-router'
import Comment from '@/components/comment/Comment.vue'
import Goods from '@/components/goods/Goods.vue'
import Business from '@/components/business/Business.vue'
Vue.use(Router)

export default new Router({
  linkActiveClass: 'link-active',
  routes: [
    {
      path: '/',
      redirect: '/goods'
    },
    {
      path: '/comment',
      component: Comment
    },
    {
      path: '/goods',
      component: Goods
    },
    {
      path: '/business',
      component: Business
    }
  ]
})
